ElasticPress\Command D

Total Complexity 174
Dependencies 7
Dependents 0
Total lines 1,556
Lines of code 681
Logical lines of code 414
Comment lines 650
Methods 43
Properties 4

Methods 43

Method Rating Maintainability Complexity Lines of code
index()
B
35 21 72
put_mapping_helper()
B
38 19 68
delete_index()
A
42 13 54
request()
A
43 7 55
index_output()
A
47 8 32
set_search_algorithm_version()
A
54 8 21
list_features()
S
53 7 22
get_index_names()
S
55 7 19
activate_feature()
S
53 6 21
deactivate_feature()
S
55 6 18
stats()
S
51 5 25
status()
S
51 4 26
stop_indexing()
S
58 4 14
get_search_algorithm_version()
S
62 4 12
custom_get_transient()
S
56 3 20
recreate_network_alias()
S
58 3 15
create_network_alias_helper()
S
60 3 13
delete_transient()
S
64 3 10
connect_check()
S
66 3 8
print_json_response()
S
63 3 10
epio_set_autosuggest()
S
65 3 8
get_indexing_status()
S
61 2 12
render_stats()
S
61 2 11
should_interrupt_sync()
S
67 2 8
stop_on_failed_mapping()
S
72 2 6
pretty_json_encode()
S
74 2 4
maybe_change_index_prefix()
S
66 2 10
maybe_change_host()
S
66 2 10
get_last_cli_index()
S
67 2 7
index_occurring()
S
72 2 5
delete_transient_on_int()
S
69 2 7
get_mapping()
S
68 2 6
put_mapping()
S
66 2 9
timer_stop()
S
74 1 4
timer_format()
S
73 1 4
timer_start()
S
76 1 4
__construct()
S
78 1 3
settings_reset()
S
70 1 6
call_ep_cli_put_mapping()
S
79 1 3
get_last_sync()
S
74 1 4
get_indexes()
S
74 1 4
get_cluster_indexes()
S
72 1 5
clear_index()
S
71 1 6